package com.sanji.capture_audio

import io.flutter.embedding.android.FlutterActivity
import io.flutter.embedding.engine.FlutterEngine  
import com.sanji.capture_audio.plugin.PreferencesPlugin
import com.sanji.capture_audio.plugin.FilePickerPlugin  

class MainActivity : FlutterActivity(){
    override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
        super.configureFlutterEngine(flutterEngine)

        // 注册偏好设置插件
        flutterEngine.plugins.add(PreferencesPlugin())
        
        flutterEngine.plugins.add(FilePickerPlugin())
    }
}
